<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>三元表达式</title>
	</head>
	<body>
		<script>
			var i=3;
			var j=i>3?4:5;
			alert(j);
		</script>
	</body>
</html>
